package org.demo.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.alibaba.fastjson.JSONObject;

@Repository
public class IUserDao extends BaseDao {
	public List<JSONObject> selectList(JSONObject params){
		return masterSst.selectList("org.demo.mapper.UserMapper.selectList",params);
	}
	
	public JSONObject selectById(int id){
		JSONObject params = new JSONObject();
		params.put("id", id);
		return masterSst.selectOne("org.demo.mapper.UserMapper.selectById",params);
	}
 
}
